
module Controle( op, fn, rt, selwsource, selregdest, writereg, writeov, selimregb, selsarega, selalushift, aluop, unsig, shiftop, mshw, lshw, msm, msl, readmem, writemem, selbrjumpz, seltipopc, compop );

	// OpCode; Function; Registrador Fonte ou Destino.
	input	[5:0]	op;
	input	[5:0]	fn;
	input	[4:0]	rt;
	
	// Sinais do Controle.
	output	[2:0]	selwsource;
	output	[1:0]	selregdest;
	output			writereg;
	output			writeov;
	output			selimregb;
	output			selsarega;
	output			selalushift;
	output	[2:0]	aluop;
	output			unsig;
	output	[1:0]	shiftop;
	output			mshw;
	output			lshw;
	output	[2:0]	msm;
	output	[2:0]	msl;
	output			readmem;
	output			writemem;
	output	[1:0]	selbrjumpz;
	output	[1:0]	seltipopc;
	output	[2:0]	compop;

	...

endmodule



